package com.module.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;

/**
 * @Description : MybatisPlus配置
 * ---------------------------------
 * @Date : Create in 2017/9/19 13:54
 */
//@Configuration
public class MybatisPlusConfig {
    /**
     * @Description : mybatis-plus分页插件
     * ---------------------------------
     * @Date : Create in 2017/9/19 13:59
     */
    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }


}